<div id="content-box">
<div class="content_top"><div class="settings"><h1>Image</h1></div></div>

<br class="clear"/>
<div style="background:#ffffff; width:739px;height:372px;">
<div class="tabs">
			<ul class="tab_items">
				<li  class="active"><a href="#">IMAGE</a></li>
				<li ><a href="#">THUMBNAIL</a></li>
                <li ><a href="#">TAGS</a></li>
				<li ><a href="#">PERMISSIONS</a></li>
			</ul>
		</div>
<div class="pagecnt">
			<h4>IMAGE UPLOAD SUB HEADING</h4><br />
<div class="form">		
<?php $form=$this->beginWidget('CActiveForm', array('id'=>'content-edit-form','enableAjaxValidation'=>TRUE)); ?>


 <?php echo $form->hiddenField($model, 'id'); ?>
			 <dl>
					<dd>
					<div class="dd_left"> <?php echo $form->labelEx($model,'name'); ?></div>
					<div class="dd_right"><?php echo $form->textField($model,'name'); ?></div>
                    <div class="errorbox"><?php echo $form->error($model,'name'); ?></div>
					</dd>
					<dd>
					<div class="dd_left"><label><?php echo $form->labelEx($model,'content_status_id'); ?></label></div>
					<div class="dd_right"><?php echo $form->dropDownList($model, 'content_status_id',
                     CHtml::listData(ContentStatus::model()->findAll(), 'name', 'name')); ?></div>
                    <div class="errorbox"><?php echo $form->error($model,'content_status_id'); ?></div>
					</dd>
                    
                    <dd>
                    <div class="dd_left"><label><?php echo $form->labelEx($model,'text'); ?></label></div>
                    <div class="dd_right"><?php echo $form->textArea($model,'text'); ?></div>
                    <div class="errorbox"><?php echo $form->error($model,'text'); ?></div>
                    </dd>
                    <dd>
                    <div class="dd_left"><label><?php echo $form->labelEx($model,'icon_file_name'); ?></label></div>
                    <div class="dd_right"><?php echo $form->fileField($model,'icon_file_name'); ?></div>
                    <div class="errorbox"><?php echo $form->error($model,'icon_file_name'); ?></div>
                    </dd>
                    <dd>
                    <div class="dd_left"><label>Preview</label></div>
                    <div class="dd_right"><div style="height: 230px;width:380px;float:right;background:none repeat scroll 0 0 #F2F2F2"></div></div>
                    
                    </dd>
    	       </dl>
				
                   
		
       
			
				<div class="button_section"></div>
				
<?php //echo CHtml::ajaxSubmitButton('submit',Yii::app()->createUrl('cms/settings'),array('type'=>'post','success'=>'js:function(){alert("submit");}'),array('class'=>'save')); ?>
                <?php echo CHtml::submitButton('SAVE', array('class'=>'save')); ?>
                <?php $this->endWidget(); ?>
             </div>

		</div>
        </div>


</div>